package com.yiku.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author:ludada
 * @Date:2024/02/22 14:31
 */
@Data
@ApiModel("料品分类简介实体类")
public class CategoryDAO implements Serializable {
    @ApiModelProperty("分类名称")
    private String name;

    @ApiModelProperty("分类编码")
    private String code;

    @ApiModelProperty("计量单位")
    private String jldw;

    @ApiModelProperty("计量单位编码")
    private String jldwCode;

    @ApiModelProperty("分类体系")
    private String fltx;

    @ApiModelProperty("分类体系编码")
    private String fltxCode;

    @ApiModelProperty("组织")
    private String org;

    @ApiModelProperty("组织编码")
    private String orgCode;

    @ApiModelProperty("子分类")
    private List<CategoryDAO> children = new ArrayList<>();


}
